<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网上报名-合肥猎头网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/view/css/user.css"
	type="text/css" media="all" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
<!--
	function doAction(examId, url) {
		document.getElementById("eid").value = examId;
		// document.getElementById("actionURL").value = url;
		return true;
	}
//-->
</script>
</head>
<body>

	<c:if test="${AdminInfo == null }">
		<%@include file="/view/userMenu.jsp"%>
	</c:if>
	<c:if test="${AdminInfo != null }">
		<%@include file="/view/adminMenu.jsp"%>
	</c:if>

	<div class="midBox">
		<div class="midTitle">专题信息一栏</div>
		<div class="cnt">

			<table width="100%" border="0" cellpadding="0" cellspacing="1"
				bgcolor="#E1E1E1">
				<form:form name="announcementSelectForm" method="post"
					action="${contextPath}/announcementSelect.action"
					commandName="AnnouncementSelectCommand">
					<form:hidden path="eid" />
					<form:hidden path="actionURL" />
					<tr>
						<td height="32" align="left" bgcolor="#FFFFFF" valign="middle"
							style="padding-left: 10px;"><b><span
								style="color: #666666">请选择专题进入</span></b></td>
					</tr>
					<tr bgcolor="#FFFFFF">
						<td valign="top" align="center"
							style="padding-top: 5px; padding-bottom: 5px;"><c:if
								test="${fn:length(AnnouncementSelectCommand.result) > 0 }">
								<table width="99%" border="0" cellpadding="4" cellspacing="1"
									bgcolor="#E1E1E1">
									<tr bgcolor="#f7f7f7">
										<th style="width: 7%;" nowrap="nowrap">序号</th>
										<th nowrap="nowrap">专题名称</th>
										<th style="width: 5%;" nowrap="nowrap">报名时间</th>
										<%--
										<th style="width: 7%;" nowrap="nowrap">准考证打印时间</th>
										--%>
										<th style="width: 11%;">考试时间</th>
										<th style="width: 8%;" nowrap="nowrap"></th>
									</tr>
									<c:set var="totalCount" value="0" />
									<c:set var="totalPassed" value="0" />
									<c:set var="totalUnPassed" value="0" />
									<c:forEach items="${AnnouncementSelectCommand.result}"
										var="exam" varStatus="status">
										<c:set var="totalCount" value="${totalCount + 1 }" />
										<tr bgcolor="#ffffff">
											<td style="text-align: right" nowrap="nowrap">${status.index
												+ 1}</td>
											<td>${exam.name}</td>
											<td style="text-align: center" nowrap="nowrap"><fmt:formatDate
													value="${exam.applyBeginDate}" pattern="yyyy/MM/dd HH:mm" /><br />~<fmt:formatDate
													value="${exam.applyDeadDate}" pattern="yyyy/MM/dd HH:mm" /></td>
											<%--
											<td style="text-align: center" nowrap="nowrap"><fmt:formatDate
													value="${exam.admissionPrintStart}"
													pattern="yyyy/MM/dd HH:mm" /><br />~<fmt:formatDate
													value="${exam.admissionPrintEnd}"
													pattern="yyyy/MM/dd HH:mm" /></td>
											--%>
											<td style="text-align: center" nowrap="nowrap"><fmt:formatDate
													value="${exam.examDate}" pattern="yyyy/MM/dd" />&nbsp;${exam.examTime}</td>
											<td style="text-align: center" nowrap="nowrap"><input
												type="submit" value="进入" name="enter"
												onclick="return doAction('${exam.id}','')"
												style="width: 50px;" /></td>
										</tr>
									</c:forEach>
								</table>
							</c:if> <c:if
								test="${fn:length(AnnouncementSelectCommand.result) <= 0 }">
								<font color="#ff0000">对不起，近期暂时没有招聘信息！</font>
							</c:if></td>
					</tr>
				</form:form>
			</table>
		</div>
	</div>
	<%@include file="/view/footer.jsp"%>
</body>
</html>